package com.lc.controller.utils;

import lombok.Data;

@Data
public class R
{
	private Boolean code;
	
	private Object data;
	
	private String msg;
	
	public R(){}
	
	public R(Boolean code)
	{
		this.code = code;
	}
	
	public R(Boolean code, Object data)
	{
		this.code = code;
		this.data = data;
	}
	
	public R(Boolean code, String msg)
	{
		this.code = code;
		this.msg = msg;
	}
	
	public R(String msg)
	{
		this.code = false;
		this.msg = msg;
	}
	
}
